﻿#nullable enable

using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 港口 - DNV OVD 给出的港口
/// </summary>
public sealed class OvdPort : Entity<int>
{
    [StringLength(128)] 
    public string Name { get; private set; } = null!;

    [StringLength(128)]
    public string Code { get; private set; } = null!;

    [StringLength(128)]
    public string Identifier { get; private set; } = null!;

    public OvdPort()
    {
        
    }

    public OvdPort(string name, string code, string identifier)
    {
        Name = name;
        Code = code;
        Identifier = identifier;
    }
}